home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
ddj0897.zip
/
DYN401.ZIP
/
makefile.inc
< prev
next >
Wrap
Makefile
|
1997-04-16
|
469b
|
45 lines
.SUFFIXES: .d .iv
.PRECIOUS : %.c %.iv
BINDIR = ../bin
LIBDIR = ../lib
INCDIR = ../include
CC = gcc
DPP = $(BINDIR)/dpp
DPPOPTS = -C
ifdef DEBUG
OPT = -g
else
OPT = -O
endif
CFLAGS = -I$(INCDIR) $(OPT) -Wall -Wno-parentheses
ifdef CPLUS
CFLAGS += -x c++
endif
ifdef FASTWIDE
DPPOPTS += -F
endif
ifdef INLINE
DPPOPTS += -S4
endif
ifdef OVERLOADS
DPPOPTS += -X
endif
DPPOPTS += $(STRAT)
GFLAGS = $(CFLAGS) -Wno-return-type
%.c: %.d
$(DPP) $(DPPOPTS) -p $<